home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5850 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: DMI.USherb.CA!gagnf02
  2. From: gagnf02@DMI.USherb.CA (FRANCOIS GAGNON)
  3. Newsgroups: comp.lang.c++
  4. Subject: Template linking error ?????
  5. Date: 6 Feb 1996 23:19:52 -0500
  6. Organization: Universite de Sherbrooke, Dept. de Mathematiques et d'Informatique
  7. Message-ID: <gagnf02.823666759@DMI.USherb.CA>
  8. NNTP-Posting-Host: roselin.dmi.usherb.ca
  9. X-Newsreader: NN version 6.5.0 #15 (NOV)
  10.  
  11.  
  12. Hello,
  13.  
  14.     I am now programming a list class with template parameter.  I put
  15. my class declaration in a ".h" file, and the implementation in a ".cpp" file.
  16. It's compiling very well, but, at the linking time, the compiler always tell
  17. that there is undefined symbol for all of my list's procedures.  I've made
  18. a project file (.prj on borland) and I think thers is a linking or compiling
  19. option that I don't now.  
  20.  
  21.     Is there someone who know how to compile this under borland 3.1?  
  22. This problem is gonna put us late.  Please, if you know how, answer as soon
  23. as possible at my e-mail adress.  
  24.  
  25.     Thanks
  26.  
  27. Francois Gagnon
  28. Student at Universite de Sherbrooke
  29. e-mail: gagnf02@dmi.usherb.ca
  30.  
  31.